﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Billing.CashDesk.CashDeskService;
using Microsoft.Reporting.WinForms;

namespace Billing.CashDesk
{
    public class PrintDoc
    {
        private string path;
        private string key;
        private string name;
        private ucPrintControl printControl;
        private PaymentObject paymentObject;
        List<ReportParameter> reporParameteres;

        public List<ReportParameter> ReporParameteres
        {
            get {
                if (reporParameteres == null)
                    reporParameteres = new List<ReportParameter>();
                return reporParameteres; 
            }
        }
        public PaymentObject PaymentObject
        {
            get { return paymentObject; }
            set { paymentObject = value; }
        }
        public ucPrintControl PrintControl
        {
            get { return printControl; }
            set { printControl = value; }
        }
        public string Key
        {
            get { return key; }
            set { key = value; }
        }
        public string Path
        {
            get { return path; }
            set { path = value; }
        }
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
    }
}
